#include "core/control.h"

namespace core
{
    StControl::StControl() {}

    StControl::~StControl() {}

    bool StControl::IsContainer() { return false; }

    StObject* StControl::Clone()
    {
        StControl* control = new StControl;
        if (!control)
        {
            return 0;
        }

        CopyToWidget(control);
        return control;
    }

    void StControl::Drop()
    {
        delete this;
    }

    StWidget* StControl::HitTest(int x, int y)
    {
        return 0;
    }

    LRESULT StControl::OnLayout(WPARAM, LPARAM, bool*)
    {
        return 0;
    }

    LRESULT StControl::OnPaint(WPARAM, LPARAM, bool*)
    {
        return 0;
    }
}